package com.azt.provider.mapper;

import com.azt.api.pojo.Address;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface AddressMapper extends Mapper<Address> {

    /**
     * 获取用户的所有收货地址
     * */
    List<Address> findUserAddress(int userId);

    Address getAddressByIdWithName(int addressId);
}